package cn.wolfcode.shop.cloud.service;

import domain.OrderInfo;
import domain.SeckillOrder;

public interface ISeckillOrderService {
    //查询返回一个用户订单信息,判断用户是否重复下单
    SeckillOrder queryByUserIdAndSeckillId(Long userId, Long seckillId);

    //  6.3  创建秒杀订单信息,往t_seckill_order插入一条数据作为这个用户已经下单的依据
    void createSeckillOrder(Long userId, Long seckillId, String orderNo);

}
